import { createApp } from 'vue';
import App from './App.vue';
import router from './router';
import store from './store';
import ElementPlus from 'element-plus'; //全局引入element
import 'element-plus/dist/index.css'; //全局引入element的样式
import * as ElementPlusIconsVue from '@element-plus/icons-vue'; //引入element的icon组件
const app = createApp(App);
for (const [key, component] of Object.entries(ElementPlusIconsVue)) {
  app.component(key, component);
}
app.use(store).use(router).use(ElementPlus).mount('#app');
